using ZeroBlog.Application.FlashArticles.Dtos.In;
using ZeroBlog.Application.FlashArticles.Dtos.Out;
using ZeroBlog.Application.FlashArticles.Dtos.Query;
using ZeroSum.Models;

namespace ZeroBlog.Application.FlashArticles;

public interface IFlashArticleApplicationService
{
    Task AddAsync(AddFlashArticleDto dto);
    Task DeleteAsync(DeleteFlashArticleDto dto);
    Task UpdateAsync(UpdateFlashArticleDto dto);
    Task<DetailFlashArticleDto> Detail(DetailFlashArticleQuery query);
    Task<PagedResponseModel<PageFlashArticleDto>> Page(PageFlashArticleQuery query);
}